import request from '@/api/request'

export default {

	//商品详情
	goodsDetail: data => {
		return request({
			data,
			url: '/goods/info'
		})
	},

	//商品列表
	goodsList: data => {
		return request({
			data,
			url: '/goods/list'
		})
	},

	//商品分类列表
	goodsCatList: data => {
		return request({
			data,
			url: '/category/list'
		})
	},

	//商品分类列表带下级
	goodsCatListAll: data => {
		return request({
			data,
			url: '/category/list_all'
		})
	},


	//三级商品分类列表
	goodsThreeCatList: data => {
		return request({
			data,
			url: '/category/threeLevel'
		})
	},

	//商品询价
	askPrice: data => {
		return request({
			data,
			url: '/enquiry/toEnquiry'
		})
	},

	//我的询价
	myAskPrice: data => {
		return request({
			data,
			url: '/enquiry/myEnquiryList'
		})
	},
	
}
